<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>

<div class="t_bar">
	申报单位上一年度财务状况（单位：万元）
</div>
<table border="0" cellspacing="0" cellpadding="0" class="t_css table01"
	id="finances">
	<tr >
	<td align="center" nowrap="nowrap" width="20%" rowspan="2">年度总收入</td>
	<td align="center" width="30%" rowspan="2">
	<span  name="budget/invest_detail/budget7"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='2']/income"/></span>
	</td>
	<td align="center" nowrap="nowrap" width="5%" rowspan="2">其中</td>
	<td align="center" nowrap="nowrap" width="15%">自主知识产权产值</td>
	<td align="center" width="30%">
	<span  name="budget/invest_detail/budget8"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='2']/output_knowledge"/></span>
	</td>
	</tr>
	<tr>
		<td align="center" nowrap="nowrap" width="15%">高新技术产品产值</td>
		<td align="center" width="30%">
		<span  name="budget/invest_detail/budget15"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='2']/output_hightech"/></span>
	</td>
	</tr>
	<tr>
	<td align="center" nowrap="nowrap">预计本年度销售收入</td>
	<td align="center">
	<span  name="budget/invest_detail/budget9"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='1']/income"/></span>
	</td>
	<td align="center" nowrap="nowrap" colspan="2">创汇总额（万美元）</td>
	<td align="center">
	<span  name="budget/invest_detail/budget10"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='2']/export"/></span>
	</td>
	</tr>
	<tr>
	<td align="center" nowrap="nowrap">资产总额</td>
	<td align="center">
	<span  name="budget/invest_detail/budget11"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='2']/assets"/></span>
	</td>
	<td align="center" nowrap="nowrap" colspan="2">负债总额</td>
	<td align="center">
	<span  name="budget/invest_detail/budget12"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='2']/liabilities"/></span>
	</td>
	</tr>
	<tr>
	<td align="center" nowrap="nowrap">净利润</td>
	<td align="center">
	<span  name="budget/invest_detail/budget13"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='2']/proft"/></span>
	</td>
	<td align="center" nowrap="nowrap" colspan="2">纳税总额</td>
	<td align="center">
	<span  name="budget/invest_detail/budget14"><x:out select="$xmlData/data/organization/finances/finance[@sequence_no='2']/fax"/></span>
	</td>
	</tr>
</table>
<br/>
<div id="cascade1">
<div class="t_bar">
	<span class="color_red">*</span>项目组织费用（单位：万元）（组织单位填报）
</div>
<table class="table01 t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="budgets">


	<tr>
		<td align="center" nowrap="nowrap" rowspan="7">总费用</td>
		<td align="center" nowrap="nowrap" rowspan="2" >会议费</td>
		<td align="center" nowrap="nowrap">场地费</td>
		<td><input name="budget/invest_detail/budget1" id="budget_1"
			type="text" onchange="countFundAuto('budget_','1,2,3,4,41,5','6')"
			class="input_text" style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/budget1" />" />
		</td>

	</tr>
	<tr>

		<td align="center" nowrap="nowrap">资料费</td>
		<td><input name="budget/invest_detail/budget2" id="budget_2"
			type="text" onchange="countFundAuto('budget_','1,2,3,4,41,5','6')"
			class="input_text" style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/budget2" />" />
		</td>

	</tr>
	<tr>

		<td align="center" nowrap="nowrap" colspan="2">翻译费</td>
		<td><input name="budget/invest_detail/budget3" id="budget_3"
			type="text" onchange="countFundAuto('budget_','1,2,3,4,41,5','6')"
			class="input_text" style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/budget3" />" />
		</td>

	</tr>
	<tr>

		<td align="center" nowrap="nowrap" colspan="2">嘉宾接待费</td>
		<td><input name="budget/invest_detail/budget4" id="budget_4"
			type="text" onchange="countFundAuto('budget_','1,2,3,4,41,5','6')"
			class="input_text" style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/budget4" />" />
		</td>

	</tr>
	
	<tr>

		<td align="center" nowrap="nowrap" colspan="2">差旅费</td>
		<td><input name="budget/invest_detail/budget41" id="budget_41"
			type="text" onchange="countFundAuto('budget_','1,2,3,4,41,5','6')"
			class="input_text" style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/budget41" />" />
		</td>

	</tr>
	
	<tr>

		<td align="center" nowrap="nowrap" colspan="2">其他费用</td>
		<td><input name="budget/invest_detail/budget5" id="budget_5"
			type="text" onchange="countFundAuto('budget_','1,2,3,4,41,5','6')"
			class="input_text" style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/budget5" />" />
		</td>

	</tr>
	<tr>

		<td align="center" nowrap="nowrap" colspan="2">合计</td>
		<td><input name="budget/invest_detail/budget6" id="budget_6"
			type="text" class="input_text gray" disabled
			style="text-align: right" onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/budget6" />" />
		</td>

	</tr>


</table>
</div>
<div id="cascade2">
<div class="t_bar">
	<span class="color_red">*</span>活动费用（单位：万元）（参与单位须填）
</div>
<table class="table01 t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="budgets_attend">
	<tr>
		<td align="center">差旅费/人</td>
		<td align="center">人数</td>
		<td align="center">合计</td>
	</tr>
	<tr>
		<td align="center">
		<input name="budget/invest_detail/travel_charge" id="travel_charge"
			type="text" onchange="totalCounts()"
			class="input_text" style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/travel_charge" />" />
		</td>
		<td align="center">
		    <input name="budget/invest_detail/attend_persons" id="attend_persons"  type="text"   onchange="totalCounts()"
			class="input_text"  style="text-align:right" onfocus="InitInput.setNumber(this,7,0,0)"
			value="<x:out select="$xmlData/data/budget/invest_detail/attend_persons" />" />
		</td>
		<td align="center">
			<input name="budget/invest_detail/travel_total" id="travel_total" disabled="disabled" readonly="readonly"
			type="text"
			class="input_text gray" style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/budget/invest_detail/travel_total" />" />
		</td>
	</tr>
	
</table>
</div>